﻿<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="CourseDetailControl.ascx.vb" Inherits="SISSAT.WebDevelopment.Shared.UserControls.CourseDetailControl" %>
<div class="info">
    <div class="input">
		<div class="label">
            <asp:RequiredFieldValidator ID="NameRequiredFieldValidator" runat="server" 
                                        Display="Static"
                                        ErrorMessage="*" 
                                        ControlToValidate="NameTextBox" 
                                        ValidationGroup="CourseDetailControlGroup"
                                        CssClass="error" />
            Course</div>
		<div class="data"><asp:TextBox ID="NameTextBox" runat="server" CssClass="textbox readonly" ReadOnly="True" /></div>
	</div>
    <div class="input">
        <div class="label"><div></div>Description</div>
		<div class="data"><asp:TextBox ID="DescriptionTextBox" runat="server" CssClass="textbox readonly" ReadOnly="True" /></div>
    </div>
    <div class="input">
		<div class="label">
            <asp:RequiredFieldValidator ID="CodeRequiredFieldValidator" runat="server" 
                                        Display="Static"
                                        ErrorMessage="*" 
                                        ControlToValidate="CodeTextBox" 
                                        ValidationGroup="CourseDetailControlGroup"
                                        CssClass="error" />
            Code</div>
		<div class="data"><asp:TextBox ID="CodeTextBox" runat="server" CssClass="textbox readonly" ReadOnly="True" /></div>
	</div>
    <asp:MultiView ID="CourseDetailControlViews" runat="server" ActiveViewIndex="0">
        <asp:View ID="DefaultView" runat="server"></asp:View>
        <asp:View ID="SubmitView" runat="server">
        <div class="input error">
            <div class="label"></div>
            <div class="data"><%=ErrorMessage %></div>
        </div>
        <div class="input buttons">
            <div class="label"></div>
	        <div class="center">
                <asp:Button ID="SubmitButton" runat="server" CssClass="button" Text="Save Changes" ToolTip="Save Changes" ValidationGroup="CourseDetailControlGroup" />
                <asp:Button ID="ClearButton" runat="server" CssClass="button" Text="Clear" ToolTip="Clear" />
	        </div>
        </div>
        </asp:View>
    </asp:MultiView>
</div>